/* 控制面板样式 */
.control-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.control-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-start {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-stop {
    background: linear-gradient(45deg, #f44336, #da190b);
    color: white;
}

.btn-stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.btn-voice {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
}

.btn-voice:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

/* 摄像头区域 */
.camera-section {
    flex: 1;
}

.camera-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-placeholder {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
}

.detection-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.detection-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 响应式 */
@media (max-width: 768px) {
    .control-buttons {
        flex-direction: column;
    }
} 